/*
 * CFileWriter.h
 *
 *  Created on: 04.12.2012
 *      Author: caffeine
 */

#ifndef CFILEWRITER_H_
#define CFILEWRITER_H_

#include <lampe/io/IFileWriter.h>
//#include "../stream/CWriter.h"
#include <stdio.h>

namespace lampe{
namespace io{
class CFileWriter: public IFileWriter{
private:
	FILE*pointer;
public:
	virtual u32 position();
	virtual void position(u32 position);
	virtual u32 size();
	virtual u32 write(void* buffer, u32 size);
	CFileWriter(boost::filesystem::path path);
	virtual ~CFileWriter();
};
}//namespace io
}//namespace lampe
#endif /* CFILEWRITER_H_ */
